package com.test;

public class Tesst504 {
    public static void main(String[] args) {
        System.out.println(GetMax(10,20,30));
    }
    public static int GetMax(int a,int b) {
        int s = a < b ? b : a;
            return s;
    }
    public static int GetMax(int a,int b,int c){
        int s = a < b ? b : a;
        int max = s > c ? s : c;
        return max;
    }

}
